#region Copyright
/// <copyright>
/// Copyright (c) 2008 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#endregion

using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace Osh.Media
{
	public abstract class ProgramBase : MediaBase, IProgram
	{
		private TimeSpan _duration = TimeSpan.Zero;

		protected ProgramBase()
		{
		}

		public ProgramBase(IMediaLibrary library, Uri uri)
			: base(library, uri)
		{
		}

		#region IProgram
		public virtual TimeSpan Duration
		{
			get { return _duration; }
			protected set { _duration = value; }
		}
		#endregion IProgram
	}
}
